package com.cisetech.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cisetech.mapper.bobocai.SinglePageMapper;
import com.cisetech.service.SinglePageService;
import com.cisetech.vo.bobocai.SinglePageVo;


@Service
public class SinglePageImpl implements SinglePageService {
	@Autowired
	SinglePageMapper singlePageMapper;
	@Override
	public int savePage(SinglePageVo singlePageVo) {
		int i = singlePageMapper.insertPage(singlePageVo);
		return i;
	}
	@Override
	public SinglePageVo findSinglePageVoById(int resouceId) {
		return singlePageMapper.findSinglePageVoById(resouceId);
	}
	@Override
	public int updatePage(SinglePageVo singlePageVo) {
		return singlePageMapper.updatePage(singlePageVo);
	}
	
}
